package com.inspectortime.webapp.payment;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

public abstract class AbstractPaymentRequestHelper {

	private static Log log = LogFactory
			.getLog(AbstractPaymentRequestHelper.class);

	private String amount = "0.01";
	private String description = "Sample Payment Request";
	private String invoiceNumber;
	private int sequenceNumber;
	private boolean testMode = true;
	private long timestamp;

	public String getAmount() {
		return amount;
	}

	public String getDescription() {
		return description;
	}

	public String getInvoiceNumber() {
		return invoiceNumber;
	}

	public int getSequenceNumber() {
		return sequenceNumber;
	}

	public long getTimestamp() {
		return timestamp;
	}

	public boolean isTestMode() {
		return testMode;
	}

	public String isTestModeString() {
		return Boolean.toString(testMode);
	}

	public void setAmount(String amount) {
		this.amount = amount;
	}

	public void setDescription(String description) {
		this.description = description;
	}
	
	public void setInvoiceNumber(String invoiceNumber) {
		this.invoiceNumber = invoiceNumber;
	}

	public void setSequenceNumber(int sequenceNumber) {
		this.sequenceNumber = sequenceNumber;
	}

	public void setTestMode(boolean testMode) {
		this.testMode = testMode;
	}

	public void setTimestamp(long timestamp) {
		this.timestamp = timestamp;
	}

}
